package com.originalpoint.origin_server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "News" ,description = "评论信息表")
public class News {
    @TableId(type = IdType.AUTO)
    @Schema(name = "newsId" ,description = "评论ID")
    private Integer newsId;

    @Schema(name = "newsContent" ,description = "评论的内容")
    private String newsContent;

    @Schema(name = "time" ,description = "评论的时间")
    private String time;

    @Schema(name = "uewId" ,description = "评论表关联的客户表的ID")
    private String uewId;

    @Schema(name = "mewId" ,description = "评论表关联的商家表的ID")
    private String mewId;
}
